﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Library
    {
        private string _Username;
        private int _Userage;
        public string Username
        {
            get { return this._Username; }
            set
            {
                if (value=="周恩来")
                {
                    Console.WriteLine("对不起，您的输入无效");
                }
                else
                {
                    this._Username = value;
                }
            }
        }
        public int Userage
        {
            get { return this.Userage; }
            set { this.Userage = value; }
        }
        public char Usersex { get; set; }
        public string introduce { get; set; }

    }
}
